package com.bwie.service;

import com.bwie.pojo.GoodsOrder;
import com.bwie.pojo.Order;

import java.util.List;

public interface OrderService {
    Integer addOrder(Order order);

    int updateOrder(Order order);

    Order getOrder(Integer userId);

    GoodsOrder getGoodsOrder(Integer userId);

    Order getOrder2(Integer orderId);

    GoodsOrder echo2(Integer orderId);

    Order findOrder(Integer orderId, Integer userId);

    void updateStatus(Order order);
}
